<template>
  <div>
    <el-table :data="tableData" border style="width: 50%">
      <el-table-column prop="code" label="错误码" style="width: 100%" > </el-table-column>
      <el-table-column prop="txt" label="错误信息" style="width: 100%"> </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: "httpCode",
   data() {
      return {
        tableData: [{
          code: '200',
          txt: '请求成功',
        }, {
          code: '!200',
          txt: '请求失败',
        }
        ]
      }
   }
};
</script>

<style lang="scss" scoped>
</style>